package com.preknow.lianxi;

public class Person {

    String name;
    int hight;
    int weight;

    public Person(String name,int hight,int weight){
        this.name = name;
        this.hight = hight;
        this.weight = weight;
    }

    public void sayHello(){
        System.out.println("hello,my name is XXX");
    }

    public static void main(String[] args) {
        Person person = new Person("张三",155,155);
        System.out.println(person.name+"--"+person.hight+"--"+person.weight);
    }
}
